module.exports = {
	css: {
		loaderOptions: {
			scss: {
				prependData: `@import "~@/static/style/index.scss";`
			}
		}
	},
	// transpileDependencies: ['z-paging'],
	chainWebpack: config => {
		config.module
		    .rule('vue') // 必须先指定 'vue' rule
			.use('vue-loader')
			.loader('vue-loader')
			.tap(options => {
				options.compilerOptions = options.compilerOptions || {}
				options.compilerOptions.isCustomElement = tag => tag === 'iconpark-icon'
				return options
			})
	},
}
